package Prototype;

public class Triangle extends Shape{

    @Override
    public void draw() {
        System.out.println("Triangle extends abstract Shape, draw--- ");
    }

    public Triangle(){
        type = "Triangle";
    }
}
